function replaceAll(old_value){		
	var temp = old_value.replace(new RegExp('<',"gm"),'&lt;')		
	temp = temp.replace(new RegExp('>',"gm"),'&gt;')		
	temp = temp.replace(new RegExp(' ',"gm"),'&nbsp;')		
	temp = temp.replace(new RegExp('"',"gm"),'&quot;')
	temp = temp.replace(new RegExp("'","gm"),'&#39;')
	
	return temp;
}